<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
<jsp:include page="/WEB-INF/jsp_lib/validate.jsp" />
<script type="text/javascript">
	function query() {
		$("#form1").submit();
	}
</script>
</head>
<body>
	<div>
		<form action="${path}/ix/useapply/select/done_list.htm"
			id="form1" method="post">
			<h2>
				<div>已用印查询</div>
			</h2>
			<div class="query">
				<table width="100%" border="0" align="center" cellpadding="0"
					cellspacing="5">
					<tr>
						<td width="80" align="right"><strong>用印编号：</strong></td>
						<td width="200" align="left"><input name="srh_code"
							type="text" /></td>
						<td align="left"><a href="javascript:query();"> <img
								src="${path}/style_cp/img/query.jpg" name="Image4" width="85"
								height="27" border="0" id="Image4" />
						</a></td>
					</tr>
				</table>
			</div>
			<table width="100%" class="listlindex">
				<tr>
					<th>用印编号</th>
					<th>用印事由</th>
					<th>用印份数</th>
					<th>每份的盖章数</th>
					<th>类别词</th>
					<th>文种词</th>
					<th>申请人员</th>
					<th>申请时间</th>
					<th>描述</th>
					<th>当前状态</th>
				</tr>
				
				<c:forEach items="${list}" var="v">
					<tr>
						<td>${v.name}(${v.true_code})</td>
						<td>${v.reason}</td>
						<td>${v.copes}</td>
						<td>${v.num}</td>
						<td>${v.type_name}</td>
						<td>${v.word_name}</td>
						<td>${v.uname}</td>
						<td>${v.apply_time}</td>
						<td>${v.note}</td>
						<td><c:if test="${v.verify_status!=null}">
								${v.verify_status}
							</c:if> <c:if test="${v.verify_status==null}">
								<c:if test="${v.seal_status!=null}">
									${v.seal_status}
								</c:if>
								<c:if test="${v.seal_status==null}">
									${v.pass_status}
								</c:if>
							</c:if></td>
					</tr>
				</c:forEach>
			</table>
			<c:if test="${fn:length(list)!=0}">
			<div id="response"></div>
			<div class="options">
				<div class="quotes">
					<c:if test="${fn:length(list)==null}">
						<page:page page="${page}" />
					</c:if>
				</div>
				<div class="clear"></div>
			</div>
			</c:if>
		</form>
</body>
</html>